<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <script src="oauth.js"></script>
</head>
<body>
<script>
var options = {
  server: 'http://localhost:8080/snsapi_base',
  auth: 'http://localhost:8080/snsapi_auth',
  callback: 'http://localhost:8080'
}
oAuth(function() {
  alert('授权成功');
});
</script>

</body>
</html>
